2. Program to Accept values of Two Numbers and print their Addition.
import java.util.Scanner;
class AddNumbers { public static void main(String args[]) { int x, y, z; System.out.print("Enter two integers to calculate their sum : "); Scanner in = new Scanner(System.in); x = in.nextInt(); y = in.nextInt(); z = x + y; System.out.println("Sum of entered integers = " + z); } }
2. Program to Accept values of Two Numbers and print their Addition.
import java.util.Scanner;
class AddNumbers { public static void main(String args[]) { int x, y, z; System.out.print("Enter two integers to calculate their sum : "); Scanner in = new Scanner(System.in); x = in.nextInt(); y = in.nextInt(); z = x + y; System.out.println("Sum of entered integers = " + z); } }
A project of our size needs at least a few hundred million dollars per year to keep going,β Mr. Durov wrote in his public channel on Telegram late last year. βWhile doing that, we will remain independent and stay true to our values, redefining how a tech company should operate.
Tata Power whose core business is to generate, transmit and distribute electricity has made no money to investors in the last one decade. That is a big blunder considering it is one of the largest power generation companies in the country. One of the reasons is the company's huge debt levels which stood at βΉ43,559 crore at the end of March 2021 compared to the companyβs market capitalisation of βΉ44,447 crore.